$( document ).ready( function() {

	$( 'td' ).click( function() {

		var toggle = this.style;
		toggle.backgroundColor = toggle.backgroundColor ? "" : "#800000";
		toggle.color = toggle.color ? "" : "#fff";

	});
	
});